//封装购物车模块

import { defineStore } from "pinia";
import { ref } from "vue";

export const useCartStore= defineStore('store',()=>{
    //1.定义state - cartList
    const cartList = ref([])
    //2.定义state - addCart
    const addCart = ()=>{

    }
    return {
        cartList,
        addCart
    }
})